Northwoods.GoSilverlight 1.3.5 Assembly
FindKeyForNode Method
See Also  Send Feedback
Northwoods.GoXam.Model Namespace > GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class : FindKeyForNode Method

nodedata
Find the key for node data.

Syntax

Visual Basic (Declaration) 
Protected Overridable Function FindKeyForNode( _
   ByVal nodedata As NodeType _
) As NodeKey
C# 
protected virtual NodeKey FindKeyForNode( 
   NodeType nodedata
)

Parameters

nodedata

Return Value

the (hopefully) unique key for the given node data in this model

Remarks

This is used for model discovery. This method can be overridden in case the NodeKeyPath property path is not flexible enough or fast enough to get the key for a node.

If NodeKeyIsNodeData is true, this just converts the nodedata argument to the NodeKey type and returns it.

Requirements

See Also

© 2012 All Rights Reserved.